from ninja import ModelSchema

from .models import SKU


class SKUSchemaOut(ModelSchema):
    class Meta:
        model = SKU
        fields = ['id', 'name', 'price', 'default_image_url', 'comments']
